from django.urls import path
from rest_framework.routers import DefaultRouter

from other.views import UserViewSet, UserAddressViewSet, name_authentication

urlpatterns = [
    # path('info/', change_user_info),
    path('authentication/', name_authentication),
]

router = DefaultRouter()
router.register('addresses', UserAddressViewSet)
router.register('users', UserViewSet)
urlpatterns += router.urls
